home *** CD-ROM | disk | FTP | other *** search
/ Hot Metal Pro 4.0 / Hot Metal Pro 4.0.iso / HMPTools / VRCreate / data.z / Click - Spin once YAW.beh < prev    next >
Encoding:
Text File  |  1996-07-01  |  630 b   |  21 lines

  1. #VRML V2.0 utf8 - PLATINUM technology, inc. 1997
  2. #ADD_TOUCH_SENSOR
  3.  
  4. # heartbeat
  5. DEF $OBJECT_Spin360YAWTimer TimeSensor {
  6.   cycleInterval 2
  7.   loop FALSE
  8.   
  9. }
  10.  
  11.  
  12. DEF $OBJECT_Spin360YAW_rotAnim OrientationInterpolator {
  13.   key         [ 0        .25           .5             .75           1 ]
  14.   keyValue [ 0 1 0 0, 0 1 0 1.5709, 0 1 0 3.14159, 0 1 0 4.4712, 0 1 0 6.283 ]
  15. }
  16.  
  17. #route map
  18.  
  19. ROUTE $OBJECT_Spin360YAWTimer.fraction_changed  TO $OBJECT_Spin360YAW_rotAnim.set_fraction
  20. ROUTE $OBJECT_Spin360YAW_rotAnim.value_changed TO $OBJECT.set_rotation
  21. ROUTE $OBJECTTS.touchTime TO $OBJECT_Spin360YAWTimer.set_startTime